﻿#ifndef DWGLINE_H
#define DWGLINE_H
#include<QPoint>
#include "dwgobject.h"

#include<QObject>
class DwgLine : public DwgObject
{
    Q_OBJECT
public:
    explicit DwgLine(QObject *parent = nullptr);

private:
    QPoint mStartPt,mEndPt;

    // DwgObject interface
public:
     void Draw(QPainter *painter)  override;
     void SetData(QPoint pt1,QPoint pt2) override;
};

#endif // DWGLINE_H
